def originMatch(text, keywords):
    for i in range(len(keywords)):
        keyword = keywords[i]
        if keyword in text:
            print(f"关键词{keyword}匹配成功")

text = "hishershelloshelshy"
keywords = ["he", "she", "his", "her", "hello", "help", "sheep", "shy"]
originMatch(text, keywords)